Reset the domain name after the save completes. This is necessary, now that
authorEwan Mellor <ewan@xensource.com>
Mon, 27 Nov 2006 14:47:23 +0000 (14:47 +0000)
committerEwan Mellor <ewan@xensource.com>
Mon, 27 Nov 2006 14:47:23 +0000 (14:47 +0000)
we have persistent domains.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendCheckpoint.py

index 1aa89714f2f5219473ccbcac998683217a155045..2037ba0fa00140bb7ab3421781afb7c30aa669ef 100644 (file)
@@ -97,6 +97,7 @@ def save(fd, dominfo, network, live, dst):
         forkHelper(cmd, fd, saveInputHandler, False)
 
         dominfo.destroyDomain()
+        dominfo.setName(domain_name)
 
     except Exception, exn:
         log.exception("Save failed on domain %s (%d).", domain_name,